export function transformGender(gender: string | GenderValueEnum): string {
  if (gender === GenderValueEnum.FEMALE) {
    return GenderLabelEnum.FEMALE;
  } else if (gender === GenderValueEnum.MALE) {
    return GenderLabelEnum.MALE;
  } else {
    return '';
  }
}

export enum GenderValueEnum {
  MALE = 'MALE',
  FEMALE = 'FEMALE',
}

export enum GenderLabelEnum {
  MALE = '男',
  FEMALE = '女',
}
